package info.util;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class SessionNull
	{
		public static void forwordTo(HttpServletRequest req,
				HttpServletResponse resp)
			{
				RequestDispatcher view = req.getRequestDispatcher("/login.jsp");
				try
					{
						view.forward(req, resp);
					} catch (ServletException e)
					{
						// TODO Auto-generated catch block
						e.printStackTrace();
					} catch (IOException e)
					{
						// TODO Auto-generated catch block
						e.printStackTrace();
					}

			}
	}
